#ifndef OPTIONDIALOG_H
#define OPTIONDIALOG_H

#include "globalsettingdialog.h"
#include "tab1dialog.h"
#include "tab2dialog.h"
#include "tab3dialog.h"

#include <QAbstractButton>
#include <QDialog>
#include <QListWidgetItem>

namespace Ui {
class OptionDialog;
}

class OptionDialog : public QDialog
{
    Q_OBJECT

public:
    explicit OptionDialog(QWidget *parent = 0);
    ~OptionDialog();

    void listinitiation(void);
signals:
    void buttonboxclicked();

private slots:
    void on_listWidget_itemClicked(QListWidgetItem *item);

    void on_buttonBox_clicked(QAbstractButton *button);

private:
    Ui::OptionDialog *ui;

    tab1Dialog tab1;
    tab2Dialog tab2;
    tab3Dialog tab3;
    GlobalSettingDialog tab4;
};

#endif // OPTIONDIALOG_H
